$(
    function () {
        console.log("我准备好了！");
        $(".btnReturn").click(function () {
            window.location.href = '/Product/index';
        })
        $(".btnAdd").click(function () {
            window.location.href = '/Product/createoredit';
        })
        $('.btnSel').click(function () {

        })
        $(('.btnSave').click(function () {

        }))
    }
)
function btnUp(id) {
    window.location.href = `/Product/createoredit/${id}`
}
function btnDel(id) {
    if (confirm("确定删除吗？")) {
        window.location.href = `/Product/Delete/${id}`
    }
}